package com.abocode.aichat.server.reply;

import com.abocode.aichat.server.stanza.Stanza;
import io.netty.channel.Channel;

import java.util.Arrays;
import java.util.List;

/**
 * Created by franky-17.
 */
public class Reply {
    private List<Channel> channels;
    private Stanza stanza;

    public Reply(Channel channel, Stanza stanza) {
        this.channels = Arrays.asList(channel);
        this.stanza = stanza;
    }

    public Reply(List<Channel> channels, Stanza stanza) {
        this.channels = channels;
        this.stanza = stanza;
    }

    public List<Channel> getChannels() {
        return channels;
    }

    public void setChannels(List<Channel> channels) {
        this.channels = channels;
    }

    public Stanza getStanza() {
        return stanza;
    }

    public void setStanza(Stanza stanza) {
        this.stanza = stanza;
    }
}
